<%@page import="com.stwitinc.DateFormat"%>
<%@page import="com.alibaba.fastjson.JSONObject"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="stw" uri="http://stwitinc.com/jsp/tld/core"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width" /> 
<title>任务</title>
<style type="text/css">
table td,th{border: 1px solid black;}
</style>
</head>
<body>

<div class="container-fluid">
<div class="page-header">

    <h1 style="text-align:center">【STW 项目】 需求总数：${data.retSum.featureTotalCount} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   
     Bug总数：${data.retSum.bugTotalCount}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            打回总数：${data.retSum.bugTotalRejectedCount}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           总数：${data.retSum.featureTotalCount + data.retSum.bugTotalCount + data.retSum.bugTotalRejectedCount}     
    </h1>
</div>
<div class="row"> <!-- class="panel-body" -->
<div class="col-md-12">
		<table  style="border: 1px solid black;width: 85%;margin:auto"><!-- class="table table-striped" -->
			<thead>
				<tr>
					<th>工程师</th>
					<th>个人汇总</th>
					<th>需求-待处理</th>
					<th>需求-处理中</th>
					<th>需求-有反馈</th>
					<th>Bug-待处理</th>
					<th>Bug-处理中</th>
					<th>Bug-有反馈</th>
				    <th>Bug-打回</th>
				    <th>需求总数</th>
				    <th>Bug总数</th>				
				    <th>工程师</th>
				</tr>
			</thead>
			<tbody>
				<stw:for items="${data.retArray}" var="rec">
					<tr>
						<%-- <td><div class="btn-group btn-group-xs" role="group">
								<a class="btn btn-warning"
									href="${contextPath}/news/news/${rec.newsId}/news_editor?tokenId=${param.tokenId}">修改</a><a
									class="btn btn-danger" href="#"
									onclick="deleteNews('${rec.newsId}')">删除</a>
								<stw:if test="${state==1}">
									<a class="btn btn-success" href="#"
										onclick="publishNews('${rec.newsId}')">发布</a>
								</stw:if>
								<a class="btn btn-default"
									href="${contextPath}/news/news/${rec.newsId}/preview?tokenId=${param.tokenId}"
									target="_blank">预览</a>
							</div></td> --%>
							
						<td style='vertical-align: middle;text-align: center;'>${rec.developer}</td>
						<%-- <td style='vertical-align: middle;text-align: center;'>${rec.personalTotal}</td> --%>
						

				       <stw:if test="${rec.personalTotal > 0}">
						<td  style='vertical-align: middle;text-align: center;color:red;font-size:26px'>${rec.personalTotal}</td>
						</stw:if>
						<stw:if test="${rec.personalTotal <= 0}">
						<td style='vertical-align: middle;text-align: center;'>${rec.personalTotal}</td>
						</stw:if>


						
					<%-- 	<td style='vertical-align: middle;text-align: center;'>${rec.featureNewCount}</td> --%>
						
						
				       <stw:if test="${rec.featureNewCount > 0}">
						<td  style='vertical-align: middle;text-align: center;color:red;font-size:26px'>${rec.featureNewCount}</td>
						</stw:if>
						<stw:if test="${rec.featureNewCount <= 0}">
						<td style='vertical-align: middle;text-align: center;'>${rec.featureNewCount}</td>
						</stw:if>
						
						
						
						<%-- <td style='vertical-align: middle;text-align: center;'>${rec.featureInprogressCount}</td> --%>
						<stw:if test="${rec.featureInprogressCount > 0}">
						<td  style='vertical-align: middle;text-align: center;color:red;font-size:26px'>${rec.featureInprogressCount}</td>
						</stw:if>
						<stw:if test="${rec.featureInprogressCount <= 0}">
						<td style='vertical-align: middle;text-align: center;'>${rec.featureInprogressCount}</td>
						</stw:if>
						
					<%-- 	<td style='vertical-align: middle;text-align: center;'>${rec.featureFeedbackCount}</td> --%>
						<stw:if test="${rec.featureFeedbackCount > 0}">
						<td  style='vertical-align: middle;text-align: center;color:red;font-size:26px'>${rec.featureFeedbackCount}</td>
						</stw:if>
						<stw:if test="${rec.featureFeedbackCount <= 0}">
						<td style='vertical-align: middle;text-align: center;'>${rec.featureFeedbackCount}</td>
						</stw:if>
						
					<%-- 	<td style='vertical-align: middle;text-align: center;'>${rec.bugNewCount}</td> --%>
						<stw:if test="${rec.bugNewCount > 0}">
						<td  style='vertical-align: middle;text-align: center;color:red;font-size:26px'>${rec.bugNewCount}</td>
						</stw:if>
						<stw:if test="${rec.bugNewCount <= 0}">
						<td style='vertical-align: middle;text-align: center;'>${rec.bugNewCount}</td>
						</stw:if>
						
						<%-- <td style='vertical-align: middle;text-align: center;'>${rec.bugInprogressCount}</td> --%>
						<stw:if test="${rec.bugInprogressCount > 0}">
						<td  style='vertical-align: middle;text-align: center;color:red;font-size:26px'>${rec.bugInprogressCount}</td>
						</stw:if>
						<stw:if test="${rec.bugInprogressCount <= 0}">
						<td style='vertical-align: middle;text-align: center;'>${rec.bugInprogressCount}</td>
						</stw:if>
						
					<%-- 	<td style='vertical-align: middle;text-align: center;'>${rec.bugFeedbackCount}</td> --%>
						<stw:if test="${rec.bugFeedbackCount > 0}">
						<td  style='vertical-align: middle;text-align: center;color:red;font-size:26px'>${rec.bugFeedbackCount}</td>
						</stw:if>
						<stw:if test="${rec.bugFeedbackCount <= 0}">
						<td style='vertical-align: middle;text-align: center;'>${rec.bugFeedbackCount}</td>
						</stw:if>
						
					<%-- 	<td style='vertical-align: middle;text-align: center;'>${rec.bugRejectedCount}</td> --%>
						<stw:if test="${rec.bugRejectedCount > 0}">
						<td  style='vertical-align: middle;text-align: center;color:red;font-size:26px'>${rec.bugRejectedCount}</td>
						</stw:if>
						<stw:if test="${rec.bugRejectedCount <= 0}">
						<td style='vertical-align: middle;text-align: center;'>${rec.bugRejectedCount}</td>
						</stw:if>
						
						
						<%-- <td style='vertical-align: middle;text-align: center;'>${rec.featureTotalCount}</td> --%>
						<stw:if test="${rec.featureTotalCount > 0}">
						<td  style='vertical-align: middle;text-align: center;color:red;font-size:26px'>${rec.featureTotalCount}</td>
						</stw:if>
						<stw:if test="${rec.featureTotalCount <= 0}">
						<td style='vertical-align: middle;text-align: center;'>${rec.featureTotalCount}</td>
						</stw:if>
						
						<%-- <td style='vertical-align: middle;text-align: center;'>${rec.bugTotalCount}</td> --%>
						<stw:if test="${rec.bugTotalCount > 0}">
						<td  style='vertical-align: middle;text-align: center;color:red;font-size:26px'>${rec.bugTotalCount}</td>
						</stw:if>
						<stw:if test="${rec.bugTotalCount <= 0}">
						<td style='vertical-align: middle;text-align: center;'>${rec.bugTotalCount}</td>
						</stw:if>
						
					
						
						<td style='vertical-align: middle;text-align: center;'>${rec.developer}</td>
					</tr>
				</stw:for>
			</tbody>
		</table>
</div>
</div>
</div>
<%
response.setHeader("refresh","30");
%> 
</body>
</html>